package beans;

import entities.Yetki;
import controllers.YetkiFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ManagedBean(name = "yetkiController")
@ViewScoped
public class YetkiController extends AbstractController<Yetki> implements Serializable {

    @EJB
    private YetkiFacade ejbFacade;

    public YetkiController() {
        super(Yetki.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
